package com.lvmama.pangolin.mybatis.mapper.qnr;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.qnr.QNRTicket_CommodityDetail;
import com.lvmama.pangolin.entity.spider.TicketCommodity;

public interface QNRTicketCommodityDetailMapper {
	/**  
	* @Title：TicketCommodityMapper.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月15日下午5:47:02  
	*/
	public List<QNRTicket_CommodityDetail> getQNRTicket_CommodityDetailListByID(Map<String,Object> map);
	public int insertCommodityDetailLog(QNRTicket_CommodityDetail detail);
	public List<QNRTicket_CommodityDetail> selectAllLog();
	public List<QNRTicket_CommodityDetail> queryLogByMap(Map<String,Object> map);
	public int deleteLogByMap(Map<String,Object> map);
	public int updateLog(QNRTicket_CommodityDetail detail);
	public int deleteLogByID(String detail_id);

	public int insert(TicketCommodity record);
	
	public int insertSelective(TicketCommodity record);
	public List<QNRTicket_CommodityDetail> getQNRTicket_CommodityDetailLogListByID(Map<String,Object> map);
	int deletePreviousData(int limit);
	public int deleteByTaskAndProd(TicketCommodity record);
}
